package com.webas.api.auth.services;

import com.webas.api.auth.AuthenticationException;
import com.webas.api.auth.User;

public interface Authenticator
{
	boolean isLoggedIn();
	User getLoggedUser();
	void logout();
	void login(String username, String password) throws AuthenticationException;
	void login(String ticket) throws AuthenticationException;
	void login() throws AuthenticationException;
}
